<template>
    <page-body >
        <view class="page" >
    <view class="flex align-stretch benben-position-layout flex platformAnnouncement_flex_0"    :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
            <view   class='flex align-center justify-between flex-sub platformAnnouncement_fd0_0'      >
            <view   class='flex align-center platformAnnouncement_fd0_0_c0'   @tap.stop="handleJumpDiy" data-type="back" data-url="1"   >
        <text class='fu-iconfont2  platformAnnouncement_fd0_0_c0_c0'  >&#xE794;</text>
</view>
    <view   class='flex align-center'      >
        <text class='platformAnnouncement_fd0_0_c1_c0'  >平台消息</text>
</view>
    <view   class='flex align-center platformAnnouncement_fd0_0_c0'      >
        </view>
</view>

        </view>
<view :style="{height: (88+StatusBarRpx)+'rpx'}"  ></view>
<!---平台消息flex布局开始-->
 <view class="flex flex-direction flex-wrap align-stretch justify-center benben-flex-layout"    >
            <template v-for = '(item,key0) in dataList'>
    <view   class='flex flex-direction flex-wrap align-stretch platformAnnouncement_fd1_0'   @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/grzx/newDetail/newDetail?id=${item.aid}`"    :key='key0'>
        <text class='platformAnnouncement_fd1_0_c0'  >{{item.title}}</text>
<text class='platformAnnouncement_fd1_0_c1'  >{{item.content}}</text>
<image class='platformAnnouncement_fd1_0_c2'  mode="aspectFill"  :src='item.thumb'  v-if= "item.thumb!=''"></image>
    <view   class='flex flex-wrap align-center platformAnnouncement_fd1_0_c3'      >
        <text class='platformAnnouncement_fd1_0_c3_c0'  >{{item.create_time}}</text>
</view>
</view>
    </template>
    <fu-empty :pagingListLoadedAll="pagingListLoadedAll" :pagingListNoListData="pagingListNoListData" :listDataLength="listDataLength" :isLoadInit="isLoadInit"></fu-empty>
</view>
        
<!---平台消息flex布局结束-->
    
    
        </view>
    </page-body>
</template>
<script>
    import pagingList from '@/common/mixin/paging_list.js';
import {validate} from '@/common/utils/validate.js'
    
    export default {
        components:{},
        mixins: [pagingList],
        
        data(){
			return {"minixPagingListsApi":"","pageingListApiMethod":"","allowOnloadGetList":false,"dataList":[]};
		},
		computed:{
            
		},
		watch:{},
		onLoad(options){
            this.getListFunc()
		},
        onUnload() {
                
        },
		onReady(){
            
		},
		onShow(){
            
		},
		onHide(){
            
		},
		onResize(){
            
		},
		onPullDownRefresh(){
            
		},
		onReachBottom(e){
            
		},
		onPageScroll(e){
            
		},
		methods:{
                            //系统文章-获取平台公告列表
                 getListFunc(){
                                    this.minixPagingListsApi = global.apiUrls.post6415752f56d0f;
                this.pageingListApiMethod = 'get';
                this.allowOnloadGetList = false;
                this.pagingListPostDataContent = {category_id:'1'}
                this.listData = [];
                this.dataList = this.listData;
                this.pagingListToggle();
                
                },
                pagingListPostData(){
                    return this.pagingListPostDataContent
                }
		}
    };
</script> 
<style lang="scss" scoped>
           .page{
            width: 100vw;
            overflow-x: hidden;
            min-height: calc(100vh - var(--window-bottom));
            background:#F8F8F8;background-size: 100% auto;
        }
    .platformAnnouncement_flex_0{
        background:#fff;width:750rpx;height:88rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
    }
    .platformAnnouncement_fd0_0_c1_c0{
        font-size:36rpx;font-weight:500;color:#333;
    }
    .platformAnnouncement_fd0_0_c0_c0{
        font-size:32rpx;font-weight:500;color:#333;
    }
    .platformAnnouncement_fd0_0_c0{
        width:180rpx;
    }
    .platformAnnouncement_fd0_0{
        padding:0rpx 32rpx 0rpx 32rpx;line-height:88rpx;
    }
    .platformAnnouncement_fd1_0_c3_c0{
        color:#999999;font-size:24rpx;font-weight:400;line-height:33rpx;
    }
    .platformAnnouncement_fd1_0_c3{
        border-top:1px solid rgba(238, 238, 238, 1);padding:24rpx 0rpx 0rpx 0rpx;margin:24rpx 0rpx 0rpx 0rpx;
    }
    .platformAnnouncement_fd1_0_c2{
        width:638rpx;height:298rpx;border-radius:15rpx;margin:24rpx 0rpx 0rpx 0rpx;
    }
    .platformAnnouncement_fd1_0_c1{
        margin:24rpx 0rpx 0rpx 0rpx;line-height:46rpx;font-size:28rpx;font-weight:400;color:#666666;-webkit-line-clamp:3;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;
    }
    .platformAnnouncement_fd1_0_c0{
        line-height:36rpx;font-size:32rpx;font-weight:500;color:#333333;-webkit-line-clamp:1;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;
    }
    .platformAnnouncement_fd1_0{
        background:#fff;margin:24rpx 32rpx 0rpx 32rpx;padding:24rpx 24rpx 24rpx 24rpx;background-size:100% auto !important;border-radius:16rpx 16rpx 16rpx 16rpx;
    }
</style>